package com.example.paopao.consumer.memer.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.paopao.consumer.memer.pojo.entity.Release;
import com.example.paopao.consumer.memer.pojo.entity.TransDistrict;
import com.example.paopao.consumer.memer.pojo.vo.TranDetailVO;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
public interface ReleaseDetailMapper extends BaseMapper<Release> {
    List<TranDetailVO> listReleaseDetail();

    Long addNewTrans(Release release);

    int addNewTransDistrict(TransDistrict transDistrict);
}
